package com.newsystem.mapper;

import com.newsystem.pojo.Follow;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 我的收藏 Mapper 接口
 * </p>
 *
 * @author chenlitao
 * @since 2022-11-06
 */
@Mapper
public interface FollowMapper extends BaseMapper<Follow> {

    Follow selectFollow(String userId, String mediumId);

    Follow selectFollowByUserFollow(String userId,String followId);

    List<Map<String,Object>> selectByUserId(String useId);
}
